$(function(){
/*	var btn = document.getElementById("btns");
	var div = document.getElementById("divs");
	var oBtns = btn.getElementsByTagName("li");
	var oDivs = div.getElementsByTagName("div");
*/	var oBtns = $("#shangpin #PImgBox #btm ul li");
	var osDivs = $("#shangpin #PImgBox #simg img");		
	var obDivs = $("#shangpin #PImgBox #bimg img");
	for(var i=0;i<oBtns.length;i++){
		oBtns[i].onmouseover = function(){
			for(var j=0;j<oBtns.length;j++){
				if(this==oBtns[j]){
					osDivs[j].className = "l show";
					obDivs[j].className = "l show";
				}else{
					osDivs[j].className = "l hide";
					obDivs[j].className = "l hide";
				}
			}
		}
	}
	
})
